From 9e47f9adbb28dd33e589c1cf0e00b2a3a8545b22 Mon Sep 17 00:00:00 2001 From: =?utf8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Mon, 13 Dec 2010 12:04:57 +0100 Subject: [PATCH] shortened line separator in console printout lintian complained about unbreakable lines in the manpage, which were due to an overlong "qLineSeparator" consisting of 60 or so dashes. since there is no functionality in the line separator (apart from separating different sections in the console printout) i shrank it to an empty line --- debian/patches/manpage-has-errors-from-man | 25 ++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 26 insertions(+) create mode 100644 debian/patches/manpage-has-errors-from-man create mode 100644 debian/patches/series diff --git a/debian/patches/manpage-has-errors-from-man b/debian/patches/manpage-has-errors-from-man new file mode 100644 index 0000000..176fac8 --- /dev/null +++ b/debian/patches/manpage-has-errors-from-man @@ -0,0 +1,25 @@ +Description: shortened gPrintSeparator for nicer help2man output +Author: IOhannes m zmoelnig + +--- jacktrip.orig/src/jacktrip_globals.h ++++ jacktrip/src/jacktrip_globals.h +@@ -70,7 +70,7 @@ + //******************************************************************************* + /// \name Separator for terminal printing + //@{ +-const char* const gPrintSeparator = "---------------------------------------------------------"; ++const char* const gPrintSeparator = ""; + //@} + + +--- jacktrip.orig/src/Settings.cpp ++++ jacktrip/src/Settings.cpp +@@ -247,7 +247,7 @@ + cout << "Copyright (c) 2008-2009 Juan-Pablo Caceres, Chris Chafe." << endl; + cout << "SoundWIRE group at CCRMA, Stanford University" << endl; + cout << "VERSION: " << gVersion << endl; +- cout << "-----------------------------------------------------------------------------" << endl; ++ cout << gPrintSeparator << endl; + cout << "" << endl; + cout << "Usage: jacktrip [-s|-c host] [options]" << endl; + cout << "" << endl; diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..a80419a --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +manpage-has-errors-from-man -- 2.30.2